package com.yztc.orangeentertainment.bean.articlecommentall;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.Mapping;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.Relation;
import com.yztc.orangeentertainment.bean.channalarticlecomment.ArticleCommentUserBean;
import com.yztc.orangeentertainment.config.ChannalDbConfig;

/**
 * Created by My on 2016/10/14.
 */
@Table(ChannalDbConfig.TableName.ARTICLECOMMENTALLLIST)
public class ArticleCommentAllListBean {
    @Column(ChannalDbConfig.ColumnName.ID)
    private int id;
    /**
     * id : 3887951889072267
     * name : 陆晨晨lc
     * avatar : http://cdn01.happyjuzi.com/usericonurl/8c07ae78-f3ff-417a-9a23-29ab74ab0660!up1.webp
     */
    @Mapping(Relation.OneToOne)
    @Column(ChannalDbConfig.ColumnName.USER)
    private ArticleCommentUserBean user;
    @Column(ChannalDbConfig.ColumnName.CONTENT)
    private String content;
    @Column(ChannalDbConfig.ColumnName.PUBLICTIME)
    private String publish_time;
    @Column(ChannalDbConfig.ColumnName.COMMENTSTYLE)
    private int comment_style;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    public ArticleCommentUserBean getUser() {
        return user;
    }

    public void setUser(ArticleCommentUserBean user) {
        this.user = user;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPublish_time() {
        return publish_time;
    }

    public void setPublish_time(String publish_time) {
        this.publish_time = publish_time;
    }

    public int getComment_style() {
        return comment_style;
    }

    public void setComment_style(int comment_style) {
        this.comment_style = comment_style;
    }

    @Override
    public String toString() {
        return "ArticleCommentAllListBean{" +
                "id=" + id +
                ", user=" + user +
                ", content='" + content + '\'' +
                ", publish_time='" + publish_time + '\'' +
                ", comment_style=" + comment_style +
                '}';
    }
}
